Returns whether or not any Rectangle in the array would collide with another rectangle if they were all rotated at the given angle, using their centers as the axis of rotation.
'Declaration
Public Overloads Shared Function RectanglesCollide( _
ByVal As Single, _
ByVal () As RectangleF _
) As Boolean
Parameters
- rotationAngle
- The angle of rotation in degrees.
- rects
- The array of rectangles to test for collisions.
Return Value
True if any two rectangles would collide, otherwise False.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2